Skip to content

WIP EncryptOperands - #264

Open
p7r0x7 wants to merge 2 commits into
prometheus-lua:masterfrom
p7r0x7:master
Open

p7r0x7 wants to merge 2 commits into
prometheus-lua:masterfrom
p7r0x7:master

Conversation

@p7r0x7

@p7r0x7 p7r0x7 commented Nov 21, 2026

Copy link
Copy Markdown

I made this more to see what you think. In practice I'm afraid Vmify is already too costly to use, so I'll likely have to come up with a custom solution for my own needs.

The code passes the full test suite. It's otherwise not especially verified. AI helped a great deal.

@p7r0x7

p7r0x7 commented Nov 22, 2026

Copy link
Copy Markdown
Author

Basically my previous test showing a full nearly Strong config was only 55% more costly than without was entirely false. The actual result was 80300% more costly.

@levno-710

Copy link
Copy Markdown
Member

The problem is that this way a lot of calculations have to be done for every executed opcode.
I think the best solution would be to bake in very lightweight decryption directly into the opcode handlers.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants